package com.smarttourism.service.impl;

import com.smarttourism.domain.RoomStatus;
import com.smarttourism.mapper.RoomStatusMapper;
import com.smarttourism.service.RoomStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class RoomStatusServiceImpl implements RoomStatusService {
    @Autowired
    private RoomStatusMapper roomStatusMapper;
    @Override
    public List<RoomStatus> findAll() {
        return roomStatusMapper.selectAll();
    }
}
